import request from "@/utils/request";
import type{HospitalInfoResponseData} from './type'
enum API {
    HOSPITAL_DETAIL_URL='/hosp/hospital/'
}

export const hospital = {
    getHospitalDetailByHosCode:(hosCode:string)=>{
        return request.get<any,HospitalInfoResponseData>(`${API.HOSPITAL_DETAIL_URL}${hosCode}`)
    }
}